<template>
  <div class="head">
    <span class="iconfont icon-dingwei fl"></span>
    <span class="area fl">{{brand.productionPlace}}</span>
    <span class="unlike fr" @click="$emit('on-cancel', brand)">取消关注</span>
  </div>
  <div class="logo"></div>
  <p class="name">{{brand.name}}</p>
  <p class="desc">{{brand.desc}}</p>
</template>

<script>
export default {
  name: 'CollectBrandItem',
  props: {
    brand: {
      type: Object,
      default: () => {}
    }
  },
  emits: ['on-cancel']
}
</script>

<style lang="less" scoped>
  .head {
    line-height: 60px;
    height: 60px;
    padding: 0px 20px;
    .area {
      color: rgb(153, 153, 153);
      padding-left: 2px;
    }
    .unlike {
      color: rgb(39, 186, 155);
    }
  }
  .logo {
    width: 234px;
    height: 72px;
    background-color: rgb(255, 255, 255);
    background-repeat: no-repeat;
    background-position: 50% center;
    background-size: contain;
    margin: 0px auto;
    background-image: url('https://img10.360buyimg.com/seckillcms/s175x75_jfs/t1/140098/34/10906/4351/5f8965b0E32d63299/4861e97020a38325.png!cc_175x75.webp');
  }
  p {
    padding-top: 15px;
    text-align: center;
  }
</style>
